Fix panic with plugins and build commands
authorAlex Crichton <alex@alexcrichton.com>
Mon, 17 Nov 2014 17:35:53 +0000 (09:35 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 17 Nov 2014 17:35:53 +0000 (09:35 -0800)
commit71a89ef4c1098eab4eeb6a540b45d27f939b8629
treeac19f804ed8600b26c6af537112f3af9151119d9
parent020264644ff556a3facef966b968586426259c74
Fix panic with plugins and build commands

This fixes a bug in cargo where target executables and libraries would be linked
to plugin native dependencies (not wanted!).

Closes #885
src/cargo/core/package.rs
src/cargo/ops/cargo_rustc/context.rs
src/cargo/ops/cargo_rustc/mod.rs
tests/test_cargo_compile_custom_build.rs